import Route from './wx/route'
import Storage from './wx/storage'
import Modal from './wx/modal'
import Toast from './wx/toast'
import PullDownRefresh from './wx/pull_down_refresh'
import Form from './form/index'
import Utils from './wx/utils'
import login from './wx/login'
import share from './wx/share'
import modal from './wx/modal'
const Index = {
    ...Route,
    ...Storage,
    ...Modal,
    ...Toast,
    ...PullDownRefresh,
    ...Form,
    ...Utils,
    share,
    login,
    modal,
    // 获取自定义tabBar
    // getTabBar(index){
    //     if (typeof this.getTabBar === 'function' && this.getTabBar())  this.getTabBar().setData({ selected: index  })
    // },
}

export default Index